package api.eventBus;

/**
 * Created by Administrator on 2018-01-20.
 */

public class EventBusUtil {
    private static EventBusImpl sEventBus;

    static {
        sEventBus = new EventBusImpl();
    }

    public static void register(Object object) {
        sEventBus.register(object);
    }

    public static void unregister(Object object) {
        sEventBus.unregister(object);
    }


    public static void post(IBus.IEvent event) {
        sEventBus.post(event);
    }


    public static void postSticky(IBus.IEvent event) {
        sEventBus.postSticky(event );
    }
}